package com.common.task;

import com.common.util.ProbjectUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * <p>定时任务</p>
 * @Classname ScheduledTaskRunner
 * @Date 2023/7/25 15:06
 * @Created ZFC
 */
@Component
@EnableScheduling
public class ScheduledTaskRunner{

    @Autowired
    private ProbjectUtils probjectUtils;

    //每日凌晨4点执行
//    @Scheduled(cron = "0 0 4 * * ?")
//    private void task1() {
//
//    }
}
